package com.bleeth.fx.demo1;

import com.bleeth.fx.helper.AppHelper;
import com.bleeth.fx.meta.ViewRouter;
import javafx.application.Application;
import javafx.stage.Stage;

public class MainApp extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage stage) {
        AppHelper.init(stage);

        ViewRouter.scan("com.bleeth.fx.demo1");

        ViewRouter.start();
    }
}
